﻿using DAL;
using IBLL;
using IDAL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class FrExamManage_BLL : IFrExamManage_IBLL
    {
        IFrExamManage_IDAL frExam = new FrExamManage_DAL();

        SqlDataReader IFrExamManage_IBLL.Check(string s)
        {
            return DAL.SQLHepler.GetDataReader(s);
        }

        List<ExamInfo_MD> IFrExamManage_IBLL.ExamInfo_s(string path)
        {
          return  frExam.ExamInfo_s(path);
        }

        List<ExamInfo_MD> IFrExamManage_IBLL.ExamInfo_s()
        {
            return frExam.ExamInfo_s("");
        }

        DataSet IFrExamManage_IBLL.SubMit_info(string path)
        {
           return DAL.SQLHepler.GetDataset(path);
        }
    }
}
